<%-- 
    Document   : index
    Created on : 21/09/2013, 06:04:20 PM
    Author     : Gustavo Coronel
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="StyleSheet" href="css/estilos.css" type="text/css">
<title>Inicio</title>
<style type="text/css">
#divInicio {
	width: 350px;
	height: 300px;
	margin: 15px auto;
	padding: 10px;
	background-color: white;
	color: gray;
}
</style>
</head>
<body>
	<div id="divInicio">
		<form method="post" action="InicioController">
			<img alt="Logo" src="img/logo2.jpg" />
			<h1>INGRESO AL SISTEMA</h1>
			<label>Usuario:</label><br /> <input type="text" name="usuario" /><br />
			<label>Clave:</label><br /> <input type="password" name="clave" /><br />
			<input type="submit" value="Ingresar" /><br />
			<%
				if (request.getAttribute("error") != null) {
			%>
			<p class="error"><%=request.getAttribute("error").toString()%></p>
			<%
				}
			%>
		</form>
	</div>
</body>
</html>
